feat: add project command dialog with filesystem path autocomplete#1076
feat: add project command dialog with filesystem path autocomplete#1076eggfriedrice24 wants to merge 12 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
666e2be to
1d6d6ab
Compare
|
Closing in favor of #1103 which builds a full command palette. The filesystem browse endpoint and autocomplete work from here will be contributed there. cc @binbandit @Noojuno @juliusmarminge |
Summary
Adds a command dialog for adding projects via keyboard shortcut (
Mod+Shift+K) with filesystem path autocomplete. Type a path, Tab to autocomplete directories, Enter to add the project.This is marked as draft because I don't want to waste anyone's time with my opinions, but this UX makes me and several people I know significantly more productive when working with multiple projects. This also lays the groundwork for a command palette pattern that could later be extended for searching existing projects and selecting threads. Apologies if this feels like an opinionated addition, totally understand if it's not the direction you'd like to go. No hard feelings if this gets closed, just a personal preference that I thought was worth sharing. When you have time to consider it, I'd really appreciate a look.
if this gets approved, happy to add existing project search + selecting threads in same dialog
Changes
filesystem.browseWS method that lists directories at a given partial pathproject.addByPathkeybinding command (Mod+Shift+K)AddProjectDialogcomponent using existing Command UI primitivesHow it works
Mod+Shift+Kopens the dialog (works even with zero projects)~/) fetches matching directories from the server~expansion, hidden file filtering, debounced requestsTest plan
Mod+Shift+Kopens the dialog~/shows home directory contents2026-03-14.15-58-46.mp4